<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DepartmentDataset" targetNamespace="http://tempuri.org/DepartmentDataset.xsd" xmlns:mstns="http://tempuri.org/DepartmentDataset.xsd" xmlns="http://tempuri.org/DepartmentDataset.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ebirdatsConnectionString2" IsAppSettingsProperty="True" Modifier="Assembly" Name="ebirdatsConnectionString2 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.eBirdAttend.Properties.Settings.GlobalReference.Default.ebirdatsConnectionString2" Provider="System.Data.SqlClient">
          </Connection>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="ConnectionString (Settings)" PropertyReference="ApplicationSettings.eBirdAttend.Properties.Settings.GlobalReference.Default.ConnectionString" Provider="System.Data.OleDb">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DepartmentTableAdapter" GeneratorDataComponentClassName="DepartmentTableAdapter" Name="Department" UserDataComponentName="DepartmentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="eOffice.dbo.Department" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [Department] ([DepCmpId], [DepName], [DepHod]) VALUES (@DepCmpId, @DepName, @DepHod)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepCmpId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepCmpId" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DepName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DepName" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DepHod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DepHod" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     DepCmpId, DepId, DepName, DepHod
FROM         Department</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DepCmpId" DataSetColumn="DepCmpId" />
              <Mapping SourceColumn="DepId" DataSetColumn="DepId" />
              <Mapping SourceColumn="DepName" DataSetColumn="DepName" />
              <Mapping SourceColumn="DepHod" DataSetColumn="DepHod" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DepartmentDataset" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DepartmentDataset" msprop:Generator_DataSetName="DepartmentDataset">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Department" msprop:Generator_UserTableName="Department" msprop:Generator_RowDeletedName="DepartmentRowDeleted" msprop:Generator_RowChangedName="DepartmentRowChanged" msprop:Generator_RowClassName="DepartmentRow" msprop:Generator_RowChangingName="DepartmentRowChanging" msprop:Generator_RowEvArgName="DepartmentRowChangeEvent" msprop:Generator_RowEvHandlerName="DepartmentRowChangeEventHandler" msprop:Generator_TableClassName="DepartmentDataTable" msprop:Generator_TableVarName="tableDepartment" msprop:Generator_RowDeletingName="DepartmentRowDeleting" msprop:Generator_TablePropName="Department">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DepCmpId" msprop:Generator_UserColumnName="DepCmpId" msprop:Generator_ColumnVarNameInTable="columnDepCmpId" msprop:Generator_ColumnPropNameInRow="DepCmpId" msprop:Generator_ColumnPropNameInTable="DepCmpIdColumn" type="xs:int" />
              <xs:element name="DepId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="DepId" msprop:Generator_ColumnVarNameInTable="columnDepId" msprop:Generator_ColumnPropNameInRow="DepId" msprop:Generator_ColumnPropNameInTable="DepIdColumn" type="xs:int" />
              <xs:element name="DepName" msprop:Generator_UserColumnName="DepName" msprop:Generator_ColumnVarNameInTable="columnDepName" msprop:Generator_ColumnPropNameInRow="DepName" msprop:Generator_ColumnPropNameInTable="DepNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DepHod" msprop:Generator_UserColumnName="DepHod" msprop:Generator_ColumnVarNameInTable="columnDepHod" msprop:Generator_ColumnPropNameInRow="DepHod" msprop:Generator_ColumnPropNameInTable="DepHodColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>